package com.shanshi.activity.response;

import java.util.List;

/**
 * Created by weimeet on 2017/3/16.
 */

public class MyCollectInfo {

    private String message;
    private List<Data> data;
    private int code;
    public void setMessage(String message) {
        this.message = message;
    }
    public String getMessage() {
        return message;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }
    public List<Data> getData() {
        return data;
    }

    public void setCode(int code) {
        this.code = code;
    }
    public int getCode() {
        return code;
    }

    public class Data {
        private int articleId;
        private String imgUrl;
        private String title;
        private String articleType;
        private String time;
        private int commentCount;
        private int praiseCount;

        public void setArticleId(int articleId) {
            this.articleId = articleId;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setArticleType(String articleType) {
            this.articleType = articleType;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public void setCommentCount(int commentCount) {
            this.commentCount = commentCount;
        }

        public void setPraiseCount(int praiseCount) {
            this.praiseCount = praiseCount;
        }

        public int getArticleId() {

            return articleId;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public String getTitle() {
            return title;
        }

        public String getArticleType() {
            return articleType;
        }

        public String getTime() {
            return time;
        }

        public int getCommentCount() {
            return commentCount;
        }

        public int getPraiseCount() {
            return praiseCount;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "articleId=" + articleId +
                    ", imgUrl='" + imgUrl + '\'' +
                    ", title='" + title + '\'' +
                    ", articleType='" + articleType + '\'' +
                    ", time='" + time + '\'' +
                    ", commentCount=" + commentCount +
                    ", praiseCount=" + praiseCount +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "MyCollectInfo{" +
                "message='" + message + '\'' +
                ", data=" + data +
                ", code=" + code +
                '}';
    }
}
